 use "$data\women_analysis.dta", clear
 
 keep if sequence==1
 merge learnerid, using "$data\component_end.dta"
 tab _merge
 keep if _merge==3
 tab participated_ta 
 gen ratio=daysattended_ta/56
 bysort participated_ta: tab ratio
 keep if participated_ta==1
 tab participated_ta if ITTanalysis~=.
 hist ratio, percent
 graph export "$results\FigureD1.png", as(png) replace
 exit

 
 
